package com.sunjy.demo2;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;


@EnableDiscoveryClient
@SpringBootApplication
@EnableCircuitBreaker
@ComponentScan(basePackages = { "com.sunjy.**" }) // 组件扫描
public class ProjectDemo2Application {
	
	public static void main(String[] args) {
        SpringApplication.run(ProjectDemo2Application.class, args);
    }

}
